package com.aacar.dao.impl;

import org.springframework.stereotype.Repository;

import com.aacar.dao.ThirdCommonDao;
import com.aacar.dao.base.CommonBaseDao;
import com.aacar.vo.WashIndexVo;

@Repository("thirdCommonDao")
public class ThirdCommonDaoImpl extends CommonBaseDao implements ThirdCommonDao{
	
	private static final String nameSpace = "com.aacar.dao.ThirdCommonDao.";
	
	public int saveWealthIndex(WashIndexVo washIndexVo) {
		return super.getSqlSession().insert(nameSpace.concat("saveWealthIndex"), washIndexVo);
	}

	@Override
	public WashIndexVo selectWealthIndex() {
		return this.getSqlSession().selectOne(nameSpace.concat("selectWealthIndex"));
	}

}
